package com.bwie.common.domain.response;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @className: ProType
 * @Description: TODO
 * @version: v1.８.0
 * @author:
 * @date:
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class ProTypeResp {
    /**
     * 主表id
     */
    private Integer id;
    /**
     * 项目id
     */
    private Integer projectId;
    private String projectName;
    private String projectCustomer;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date createTime;
    private String createByName;
    /**
     * 费用类型id
     */
    private Integer typeId;
    private String typeName;
    /**
     * 预估价格
     */
    private BigDecimal estimatePrice;
    /**
     * 核实报价
     */
    private BigDecimal verifyPrice;
    /**
     * 状态 0/待审核 1/审核通过 2/审核拒绝
     */
    private Integer status;

    private BigDecimal estimatePriceTotal;
    private BigDecimal verifyPriceTotal;
    /**
     * 审核人
     */
    private Integer verifyBy;
    private String verifyByName;
    /**
     * 审核时间
     */
    private Date verifyTime;
    /**
     * 是否发送通知
     */
    private Integer isMsg;

    private Integer createBy;
}
